package com.zzl.finance.data.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author gull
 * @date 2021-11-09 20:04:58
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class PlatEnterprisePage implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    @ApidocModelProperty(description = "主键")
    private String id;
    @ApidocModelProperty(description = "企业名称")
    private String enterpriseName;
    @ApidocModelProperty(description = "社会统一代码")
    private String socialCreditCode;
    @ApidocModelProperty(description = "企业类别0.核心企业1.供应商，2集团")
    private Integer category;
    @ApidocModelProperty(description = "企业类型")
    private String categoryName;
    @ApidocModelProperty(description = "上链地址")
    private String chainAddress;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "申请时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApidocModelProperty(description = "业务类型，1 注册认证，2 修改信息")
    private Integer businessType;
    @ApidocModelProperty(description = "业务类型，1 注册认证，2 修改信息")
    private String businessTypeStr;

    @ApidocModelProperty(description = "操作按钮集合")
    private List<KeyValue> operateButton;
}
